A note on periodic solutions of Riccati equations