State Estimation subject to Packet Losses