In open letter, president says sexual assaults are 'stains that cannot be erased,' pleads for younger generation to adhere to boundaries, take action against misconduct