Pulsations in solar hard X-ray bursts