Nurse sentenced for tampering with hospital pain meds