Forced libration of tidally synchronized planets and moons