Costs and benefits of maternally inherited algal symbionts in coral larvae