Environmental effects on sexual size dimorphism of a seed-feeding beetle