What are the steps to verify that an Apple device's serial number is valid and check its warranty status?