Using priced timed automata for the specification and verification of CSMA/CA in WSNs