Microwave losses in metal-ferroelectric-metal thin-film capacitors