Sales surge, profits decline as Amazon.com funds growth in Q1