Riviera Beach police officer terminated