A sinusoidal current-phase relation for superconducting thin-film microbridges