California man gets year in prison for sending vile messages to father of gun massacre victim